<template>
  <view class="page">

    <view class="logo">
      <image class="image" src="@/static/images/image_demo2.jpg" mode="scaleToFill" />
    </view>

    <view class="btns demo">
      <button open-type="getPhoneNumber" @getphonenumber="onGetphonenumber">手机号快捷登录</button>
    </view>
  </view>
</template>


<script lang="ts" setup>
// 获取用户手机号码
const onGetphonenumber = (ev: any) => {
  const { encryptedData, iv } = ev.detail;
  console.log(ev.detail);

}
</script>


<style lang="scss" scoped>
@use "style.scss";
</style>